package org.rency.ues.engine.repository;

import org.rency.ues.domain.model.CertificationDomain;
import org.rency.ues.domain.support.Certification;

import java.util.List;

public interface CertificationRepository {

    public List<Certification> loadAll() throws Exception;

	public CertificationDomain get(int id);
	
	public CertificationDomain getBySerialNo(String serialNo);

	public CertificationDomain getByEmail(String orgiEmail);
	
	public boolean save(CertificationDomain domain);
	
	public boolean delete(int id);

}